package com.homer.android.sdk.command.uart;

import com.homer.android.sdk.command.IEspCommandInternet;
import com.homer.android.sdk.command.IEspCommandUart;
import com.homer.android.sdk.devcie.status.IEspStatusUart;

public interface IEspCommandUartGetStatusInternet extends IEspCommandInternet, IEspCommandUart
{
    //static final String URL = "https://iot.espressif.cn/v1/datastreams/plug-status/datapoint/?deliver_to_device=true";
    
    static final String URL = "http://"+HOMER_SERVER+"/homer_server/device.do?action=queryDevice";
    
    /**
     * get the statusUart to the Uart by Internet
     * 
     * @param deviceNumber the device number
     * @return the status of the Uart or null(if executed fail)
     */
    IEspStatusUart doCommandUartGetStatusInternet(String deviceNumber);
}
